package com.sale.system.mapper;

import com.sale.common.mybatis.core.mapper.BaseMapperPlus;
import com.sale.system.domain.SysAuxiliaryData;
import com.sale.system.domain.SysAuxiliaryDetail;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: YSL
 * @Date: 2023/7/13 14:39
 * @Desc: 辅助资料明细 数据层
 */
public interface SysAuxiliaryDetailMapper extends BaseMapperPlus<SysAuxiliaryDetailMapper, SysAuxiliaryDetail, SysAuxiliaryDetail> {

    /**
     * 根据辅助属性id删除明细
     * @param idList
     * @return
     */
    int deleteByAuxiliaryDetailId(@Param("idList") List<String> idList);

    /**
     * 根据辅助属性id查询明细
     * @param auxiliaryId
     * @return
     */
    List<SysAuxiliaryDetail> getAuxiliaryDetail(Long auxiliaryId);
}
